﻿namespace Cherry.Models
{
    public class User
    {
        /// <summary>
        /// ID，primary key
        /// </summary>
        public int ID { get; set; } 
       
        /// <summary>
        /// 密码
        /// </summary>
       
        public string? Name { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string? Password { get; set; }


        public string? LastLoginIP { get; set; }

        public DateTime? LastLoginTime { get; set; }=DateTime.Now;

        public bool? IsAdmin { get; set; } = false;



        /// <summary>
        /// 解锁时间
        /// </summary>
        public DateTime UnLockTime { get; set; }= DateTime.Now;

        


    }



}
